import request from '@/utils/request'

// 初始化运费管理
export const initCarriages = () => {
  return request({
    method: 'get',
    url: '/carriages'
  })
}
// 新增模块
export const addModuleApi = (data) => {
  return request({
    method: 'post',
    url: '/carriages',
    data
  })
}
// 删除运费模板
export const delModuleApi = (id) => {
  return request({
    method: 'DELETE',
    url: '/carriages/' + id
  })
}

